package com.topNews.base.web.record.form;

import java.util.Date;

import com.topNews.base.core.web.BaseActionForm;
import com.topNews.base.util.Convert;
import com.topNews.entity.ActionRecord;

public class ActionRecordForm extends BaseActionForm {

	private static final long serialVersionUID = 3161090262290798378L;
	
	private String actionRecordID;
	private String update_people_name;
	private String update_people_ID;
	private String action;
	private String content;
	private String createDate;
	private String remark;
	private String type;

	
	public String getActionRecordID() {
		return actionRecordID;
	}

	public void setActionRecordID(String actionRecordID) {
		this.actionRecordID = actionRecordID;
	}


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUpdate_people_ID() {
		return update_people_ID;
	}

	public void setUpdate_people_ID(String update_people_ID) {
		this.update_people_ID = update_people_ID;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getUpdate_people_name() {
		return update_people_name;
	}

	public void setUpdate_people_name(String update_people_name) {
		this.update_people_name = update_people_name;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public ActionRecord getVO(){
		ActionRecord actionRecord=new ActionRecord();
		actionRecord.setArAction(action);
		actionRecord.setArContent(content);
		actionRecord.setCreateDate(new Date());
		actionRecord.setArRemark(remark);
		actionRecord.setArType(Convert.toLong(type));
		return actionRecord;
	}
}
